<?php

namespace backend\controllers;

use Yii;
use backend\models\Message;
use backend\models\MessageSearch;
use yii\helpers\ArrayHelper;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;

/**
 * MessageController implements the CRUD actions for Banner model.
 */
class MessageController extends BaseController
{

    public function behaviors ()
    {
        return [
            'verbs' => [
                'class'   => VerbFilter::className() ,
                'actions' => [
                    'delete' => [ 'POST' ] ,
                ] ,
            ] ,
        ];
    }
}